import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from './store'
import ElementUI from 'element-ui'
import VueAwesomeSwiper from 'vue-awesome-swiper'


import axios from 'axios'
Vue.prototype.$axios = axios

import api from '@/api/services/packRequest'
Vue.prototype.$getApi = api

import getApi from '@/api/index'
Vue.prototype.$api = getApi


import '@/assets/styles/reset.css'
import 'element-ui/lib/theme-chalk/index'
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false



Vue.use(ElementUI).use(VueAwesomeSwiper);

new Vue({
  router,
  store, // 引入store文件，让数据共享，所以home文件下的Header可以使用{{this.$store.state.city}}
  render: h => h(App)
}).$mount('#app')

